home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaed0.z / dlaed0
Encoding:
Text File  |  2002-10-03  |  5.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLAED0 - compute all eigenvalues and corresponding eigenvectors of a
  10.      symmetric tridiagonal matrix using the divide and conquer method
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLAED0( ICOMPQ, QSIZ, N, D, E, Q, LDQ, QSTORE, LDQS, WORK,
  14.                         IWORK, INFO )
  15.  
  16.          INTEGER        ICOMPQ, INFO, LDQ, LDQS, N, QSIZ
  17.  
  18.          INTEGER        IWORK( * )
  19.  
  20.          DOUBLE         PRECISION D( * ), E( * ), Q( LDQ, * ), QSTORE( LDQS, *
  21.                         ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLAED0 computes all eigenvalues and corresponding eigenvectors of a
  38.      symmetric tridiagonal matrix using the divide and conquer method.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      ICOMPQ  (input) INTEGER
  42.              = 0:  Compute eigenvalues only.
  43.              = 1:  Compute eigenvectors of original dense symmetric matrix
  44.              also.  On entry, Q contains the orthogonal matrix used to reduce
  45.              the original matrix to tridiagonal form.  = 2:  Compute
  46.              eigenvalues and eigenvectors of tridiagonal matrix.
  47.  
  48.      QSIZ   (input) INTEGER
  49.             The dimension of the orthogonal matrix used to reduce the full
  50.             matrix to tridiagonal form.  QSIZ >= N if ICOMPQ = 1.
  51.  
  52.      N      (input) INTEGER
  53.             The dimension of the symmetric tridiagonal matrix.  N >= 0.
  54.  
  55.      D      (input/output) DOUBLE PRECISION array, dimension (N)
  56.             On entry, the main diagonal of the tridiagonal matrix.  On exit,
  57.             its eigenvalues.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      E      (input) DOUBLE PRECISION array, dimension (N-1)
  75.             The off-diagonal elements of the tridiagonal matrix.  On exit, E
  76.             has been destroyed.
  77.  
  78.      Q      (input/output) DOUBLE PRECISION array, dimension (LDQ, N)
  79.             On entry, Q must contain an N-by-N orthogonal matrix.  If ICOMPQ =
  80.             0    Q is not referenced.  If ICOMPQ = 1    On entry, Q is a
  81.             subset of the columns of the orthogonal matrix used to reduce the
  82.             full matrix to tridiagonal form corresponding to the subset of the
  83.             full matrix which is being decomposed at this time.  If ICOMPQ = 2
  84.             On entry, Q will be the identity matrix.  On exit, Q contains the
  85.             eigenvectors of the tridiagonal matrix.
  86.  
  87.      LDQ    (input) INTEGER
  88.             The leading dimension of the array Q.  If eigenvectors are
  89.             desired, then  LDQ >= max(1,N).  In any case,  LDQ >= 1.
  90.  
  91.             QSTORE (workspace) DOUBLE PRECISION array, dimension (LDQS, N)
  92.             Referenced only when ICOMPQ = 1.  Used to store parts of the
  93.             eigenvector matrix when the updating matrix multiplies take place.
  94.  
  95.      LDQS   (input) INTEGER
  96.             The leading dimension of the array QSTORE.  If ICOMPQ = 1, then
  97.             LDQS >= max(1,N).  In any case,  LDQS >= 1.
  98.  
  99.      WORK   (workspace) DOUBLE PRECISION array,
  100.             If ICOMPQ = 0 or 1, the dimension of WORK must be at least 1 + 3*N
  101.             + 2*N*lg N + 2*N**2 ( lg( N ) = smallest integer k such that 2^k
  102.             >= N ) If ICOMPQ = 2, the dimension of WORK must be at least 4*N +
  103.             N**2.
  104.  
  105.      IWORK  (workspace) INTEGER array,
  106.             If ICOMPQ = 0 or 1, the dimension of IWORK must be at least 6 +
  107.             6*N + 5*N*lg N.  ( lg( N ) = smallest integer k such that 2^k >= N
  108.             ) If ICOMPQ = 2, the dimension of IWORK must be at least 3 + 5*N.
  109.  
  110.      INFO   (output) INTEGER
  111.             = 0:  successful exit.
  112.             < 0:  if INFO = -i, the i-th argument had an illegal value.
  113.             > 0:  The algorithm failed to compute an eigenvalue while working
  114.             on the submatrix lying in rows and columns INFO/(N+1) through
  115.             mod(INFO,N+1).
  116.  
  117. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  118.      Based on contributions by
  119.         Jeff Rutter, Computer Science Division, University of California
  120.         at Berkeley, USA
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD0000((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SEE ALSO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.